package com.health.db.mapper;

import java.util.List;

import com.health.db.model.StuffList;
import com.health.db.model.StuffListExample;

public interface StuffListMapper {
    long countByExample(StuffListExample example);

    int deleteByExample(StuffListExample example);

    int deleteByPrimaryKey(Long recid);

    int insert(StuffList record);

    int insertSelective(StuffList record);

    List<StuffList> selectByExample(StuffListExample example);

    StuffList selectByPrimaryKey(Long recid);

    int updateByPrimaryKeySelective(StuffList record);

    int updateByPrimaryKey(StuffList record);
    
    List<StuffList> selectByDepartmentId(Integer departmentId);
    
    StuffList selectByStuffId(Long stuffId);
}